package main

import (
	"fmt"
)

func main() {
	//var s []int

	s := []int{} // 没有必要初始化
	fmt.Printf("%v\n", s == nil)
	s = append(s, 1, 2, 3)

	var s1 = make([]int, 3) // 没有必要初始化
	fmt.Printf("%v\n", s1 == nil)
	s1 = append(s, 1, 2, 3)
}
